include(fetchcontent)
FetchContent_Declare(spdlog
        GIT_REPOSITORY https://gitee.com/taoweitao/spdlog.git
        GIT_TAG v1.x # 库版本
        SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/extern/spdlog
        )

FetchContent_MakeAvailable(spdlog)